package info.motteke.net;

import java.io.IOException;
import java.util.Collection;
import java.util.Map;

public interface CookiePool {

    public void setCookie(Cookie cookie);

    public void setCookies(Collection<Cookie> cookies);

    public Cookies getCookie(String url);

    public Map<String, String> asMap(String url);

    public void store() throws IOException;

    public void load() throws IOException;
}
